
    <table cellspacing="0" cellpadding="0" border="0" summary="Comparison chart for Groundswell Boards" id="boardCompare" >
    <caption>
       Shift Connection Applications->Recently Arrived
      </caption>

    <thead>
   <tr>

        <th>Application ID</th>
        <th>Date of Apply</th>


      </tr>
    </thead>
     <tbody>
      <?php
      foreach ($list as $row)
      {
         echo "<tr>";

         echo "<td>${row['appid']}</td>";
         echo "<td>${row['applydate']}</td>";



        echo "</tr>";
     }
    ?>


    </tbody>
   </table>


<div class="detail" >

    <div style="margin-bottom: 20px;margin-left: 20px ">
    </div>
    <div class="process">
        <?php echo form_open('de/change_exchange');?>
        Change to Exchange
        <select name="exchange">
            <option selected="" value="">-Select Exchange-</option>
            <?php foreach ($exchange as $e)
               echo "<option value=$e->code title=$e->name>".$e->name.'</option>';
             ?>
        </select>
        <input type="submit" value="Change"  /><br/>
        
        <?php echo form_close();?>
        <?php echo form_open('de/shift_assign_sde');?>
        Assign Sub Divisional Engineer :
        <select name="sde">
        <option selected="" value="">-Select SDE-</option>
         <?php foreach ($sde as $e)
               echo "<option value=$e->id title=$e->name>".$e->name.'</option>';
         ?>
        </select>
        <input type="submit" value="Assign" />
        <?php echo form_close();?>
    </div>
</div>